package D240508.Timer;

public class Sum extends Algorithm{
    @Override
    public void calculate(){
        int sum = 0;
        for (int i = 1; i <= 100; i++) {
            sum += i;
        }
        System.out.println(sum);
    }
}
